package com.lzw.http;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * 获取当前机器公网ip
 *
 * @author liuzw
 * @date 2021/10/29
 */
@FeignClient(value = "HTTP", url = "${http.url.get.host.ipv6:https://6.ipw.cn/}", contextId = "com.lzw.http.IGetIPV6")
public interface IGetIPV6 extends IBaseHttp {

    /**
     * 发送GET请求
     *
     * @return JSON
     */
    @Override
    @GetMapping
    String execution();
}
